package com.example.swim.Dao;


import com.example.swim.Pojo.Coach;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author LiYa
 * @create 2022-07-14 9:40
 */
@Repository
@Mapper
public interface CoachDao {
    List<Coach> findAll();
    Coach findById(int id);
    int  insertCoach(Coach coach);
    int  delCoach(Integer id);
    int updateCoach(Coach coach);
    Coach findCoach(Coach coach);
}
